package com.dronff.common.feign;

import com.dronff.common.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author tyf
 * @date 2022/7/21 18:16
 */
@FeignClient("order-service")
public interface OrdersFeign {
    @GetMapping("/creOrder")
    ResponseResult creOrder(@RequestParam("id")Integer id,@RequestParam("money")Integer money);
}
